<?php
require_once ('test.php');

$institute_id = 14;

$q = "INSERT INTO page_views2 ( institute_id, views) VALUES ( $institute_id, 1)
   ON DUPLICATE KEY UPDATE views=views+1"
   ;
$r = mysqli_query ($dbc, $q);
  
?>